local huajin_sel = fk.CreateSkill {
  name = "#th_huajin_sel",
}

huajin_sel:addEffect("active", {
  name = "#th_huajin_sel",
  target_num = 0,
  target_filter = Util.FalseFunc,
  card_num = 2,
  card_filter = function(self, player, to_select, selected)
    if #selected >= 1 then
      if Fk:getCardById(to_select).color ~= Fk:getCardById(selected[1]).color then return end
    end
    return #selected < 2
  end,
})

return huajin_sel